package com.zksk.admin.mapper.orders;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.zksk.admin.domain.orders.dto.OrdersCancelDto;
import com.zksk.mbg.admin.domain.OrdersCancel;
import org.apache.ibatis.annotations.Param;

public interface OrdersCancelDao extends BaseMapper<OrdersCancel> {

    /**
     * 退订订单列表分页
     * @param page
     * @param queryWrapper
     * @return
     */
    IPage<OrdersCancelDto> ordersCancelList(IPage<OrdersCancel> page,
                                            @Param(Constants.WRAPPER) Wrapper<OrdersCancel> queryWrapper);
}
